package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.DeviceCond;
import com.k2data.k2app.domain.po.TMonitorLimitValue;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lidong9144@163.com 17-4-5.
 */
@Mapper
@Repository
public interface TMonitorLimitValueMapper extends K2Mapper<TMonitorLimitValue> {

    List<TMonitorLimitValue> selectLimitValue(DeviceCond cond);

    List<TMonitorLimitValue> selectLimit(@Param("monitorPointId") Long monitorPointId, @Param("state") Integer state);

}
